package com.practice.pagehelper.aop;

import org.springframework.stereotype.Controller;

/**
 * @Description :
 * @Version : V1.0.0
 * @Date : 2022/9/6 21:13
 */
@Controller
public class AopController {
    public String testAop(String key) {
        System.out.println("exe testAop");
        return "key=" + key;
    }

    public String testAfterThrowing(String key) {
        System.out.println("testAfterThrowing");
        throw new NullPointerException();
    }

    public String testAround(String key) {
        System.out.println("testAround");
        return "key=" + key;
    }
}
